home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
•The Simulator•
/
Pharaoh v1.0 •••••
/
Pharaoh
/
Pharaoh.rsrc
/
CODE_12.txt
< prev
next >
Wrap
Text File
|
1988-04-23
|
10KB
|
171 lines
# near model CODE resource
# jump table entries: 856-857 (2 of them)
export_107:
00000000 4E56 FE3E link A6, -0x01C2
00000004 42A7 clr.l -[A7]
00000006 3F3C 0083 move.w -[A7], 0x83
0000000A 486E FF56 pea.l [A6 - 0xAA]
0000000E 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF
00000014 A97C syscall GetNewDialog
00000016 201F move.l D0, [A7]+
label00000018:
00000018 42A7 clr.l -[A7]
0000001A 486E FF54 pea.l [A6 - 0xAC]
0000001E A991 syscall ModalDialog
00000020 0C6E 0002 FF54 cmpi.w [A6 - 0xAC], 0x2
00000026 6700 00CE beq +0xD0 /* 000000F6 */
0000002A 0C6E 0001 FF54 cmpi.w [A6 - 0xAC], 0x1
00000030 6600 00C0 bne +0xC2 /* 000000F2 */
00000034 486E FF56 pea.l [A6 - 0xAA]
00000038 3F3C 0004 move.w -[A7], 0x4
0000003C 486E FE4A pea.l [A6 - 0x1B6]
00000040 486E FE46 pea.l [A6 - 0x1BA]
00000044 486E FF4C pea.l [A6 - 0xB4]
00000048 A98D syscall GetDialogItem/GetDItem
0000004A 2F2E FE46 move.l -[A7], [A6 - 0x1BA]
0000004E 486E FE4C pea.l [A6 - 0x1B4]
00000052 A990 syscall GetDialogItemText/GetIText
00000054 486E FE4C pea.l [A6 - 0x1B4]
00000058 4EAD 02B2 jsr [A5 + 0x2B2 /* export_82 */]
0000005C 584F addq.w A7, 4
0000005E 486E FE4C pea.l [A6 - 0x1B4]
00000062 4EAD 039A jsr [A5 + 0x39A /* export_111 */]
00000066 584F addq.w A7, 4
00000068 4A40 tst.w D0
0000006A 660C bne +0xE /* 00000078 */
0000006C 3F3C 0460 move.w -[A7], 0x460
00000070 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
00000074 544F addq.w A7, 2
00000076 607A bra +0x7C /* 000000F2 */
label00000078:
00000078 486E FE4C pea.l [A6 - 0x1B4]
0000007C 4EAD 012A jsr [A5 + 0x12A /* export_33 */]
00000080 584F addq.w A7, 4
00000082 486D F990 pea.l [A5 - 0x670]
00000086 486E FE3E pea.l [A6 - 0x1C2]
0000008A 3F3C 0810 move.w -[A7], 0x810
0000008E A9EB syscall Pack4/FP68K
00000090 486E FE3E pea.l [A6 - 0x1C2]
00000094 486D F9AE pea.l [A5 - 0x652]
00000098 3F3C 080E move.w -[A7], 0x80E
0000009C A9EB syscall Pack4/FP68K
0000009E 6008 bra +0xA /* 000000A8 */
000000A0 0000 0000 ori.b D0, 0x0
000000A4 0000 0000 ori.b D0, 0x0
label000000A8:
000000A8 487A FFF6 pea.l [PC - 0xA /* 000000A0, value 0x0, cstring "" */]
000000AC 486D F9AE pea.l [A5 - 0x652]
000000B0 3F3C 0808 move.w -[A7], 0x808
000000B4 A9EB syscall Pack4/FP68K
000000B6 6C1C bge +0x1E /* 000000D4 */
000000B8 3F3C 0461 move.w -[A7], 0x461
000000BC 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
000000C0 544F addq.w A7, 2
000000C2 486E FF56 pea.l [A6 - 0xAA]
000000C6 3F3C 0004 move.w -[A7], 0x4
000000CA 4267 clr.w -[A7]
000000CC 3F3C 7FFF move.w -[A7], 0x7FFF
000000D0 A97E syscall SelectDialogItemText/SelIText
000000D2 601E bra +0x20 /* 000000F2 */
label000000D4:
000000D4 486E FE3E pea.l [A6 - 0x1C2]
000000D8 486D F1B6 pea.l [A5 - 0xE4A]
000000DC 3F3C 080E move.w -[A7], 0x80E
000000E0 A9EB syscall Pack4/FP68K
000000E2 486D F1B6 pea.l [A5 - 0xE4A]
000000E6 486D DCFE pea.l [A5 - 0x2302]
000000EA 3F3C 0810 move.w -[A7], 0x810
000000EE A9EB syscall Pack4/FP68K
000000F0 6004 bra +0x6 /* 000000F6 */
label000000F2:
000000F2 6000 FF24 bra -0xDA /* 00000018 */
label000000F6:
000000F6 486E FF56 pea.l [A6 - 0xAA]
000000FA A982 syscall CloseDialog
000000FC 4E5E unlink A6
000000FE 4E75 rts
export_108:
00000100 4E56 FE3E link A6, -0x01C2
00000104 42A7 clr.l -[A7]
00000106 3F3C 0084 move.w -[A7], 0x84
0000010A 486E FF56 pea.l [A6 - 0xAA]
0000010E 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF
00000114 A97C syscall GetNewDialog
00000116 201F move.l D0, [A7]+
label00000118:
00000118 42A7 clr.l -[A7]
0000011A 486E FF54 pea.l [A6 - 0xAC]
0000011E A991 syscall ModalDialog
00000120 0C6E 0002 FF54 cmpi.w [A6 - 0xAC], 0x2
00000126 6700 00CE beq +0xD0 /* 000001F6 */
0000012A 0C6E 0001 FF54 cmpi.w [A6 - 0xAC], 0x1
00000130 6600 00C0 bne +0xC2 /* 000001F2 */
00000134 486E FF56 pea.l [A6 - 0xAA]
00000138 3F3C 0004 move.w -[A7], 0x4
0000013C 486E FE4A pea.l [A6 - 0x1B6]
00000140 486E FE46 pea.l [A6 - 0x1BA]
00000144 486E FF4C pea.l [A6 - 0xB4]
00000148 A98D syscall GetDialogItem/GetDItem
0000014A 2F2E FE46 move.l -[A7], [A6 - 0x1BA]
0000014E 486E FE4C pea.l [A6 - 0x1B4]
00000152 A990 syscall GetDialogItemText/GetIText
00000154 486E FE4C pea.l [A6 - 0x1B4]
00000158 4EAD 02B2 jsr [A5 + 0x2B2 /* export_82 */]
0000015C 584F addq.w A7, 4
0000015E 486E FE4C pea.l [A6 - 0x1B4]
00000162 4EAD 039A jsr [A5 + 0x39A /* export_111 */]
00000166 584F addq.w A7, 4
00000168 4A40 tst.w D0
0000016A 660C bne +0xE /* 00000178 */
0000016C 3F3C 049C move.w -[A7], 0x49C
00000170 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
00000174 544F addq.w A7, 2
00000176 607A bra +0x7C /* 000001F2 */
label00000178:
00000178 486E FE4C pea.l [A6 - 0x1B4]
0000017C 4EAD 012A jsr [A5 + 0x12A /* export_33 */]
00000180 584F addq.w A7, 4
00000182 486D F990 pea.l [A5 - 0x670]
00000186 486E FE3E pea.l [A6 - 0x1C2]
0000018A 3F3C 0810 move.w -[A7], 0x810
0000018E A9EB syscall Pack4/FP68K
00000190 486E FE3E pea.l [A6 - 0x1C2]
00000194 486D F9AE pea.l [A5 - 0x652]
00000198 3F3C 080E move.w -[A7], 0x80E
0000019C A9EB syscall Pack4/FP68K
0000019E 6008 bra +0xA /* 000001A8 */
000001A0 0000 0000 ori.b D0, 0x0
000001A4 0000 0000 ori.b D0, 0x0
label000001A8:
000001A8 487A FFF6 pea.l [PC - 0xA /* 000001A0, value 0x0, cstring "" */]
000001AC 486D F9AE pea.l [A5 - 0x652]
000001B0 3F3C 0808 move.w -[A7], 0x808
000001B4 A9EB syscall Pack4/FP68K
000001B6 6C1C bge +0x1E /* 000001D4 */
000001B8 3F3C 049D move.w -[A7], 0x49D
000001BC 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
000001C0 544F addq.w A7, 2
000001C2 486E FF56 pea.l [A6 - 0xAA]
000001C6 3F3C 0004 move.w -[A7], 0x4
000001CA 4267 clr.w -[A7]
000001CC 3F3C 7FFF move.w -[A7], 0x7FFF
000001D0 A97E syscall SelectDialogItemText/SelIText
000001D2 601E bra +0x20 /* 000001F2 */
label000001D4:
000001D4 486E FE3E pea.l [A6 - 0x1C2]
000001D8 486D F1B6 pea.l [A5 - 0xE4A]
000001DC 3F3C 080E move.w -[A7], 0x80E
000001E0 A9EB syscall Pack4/FP68K
000001E2 486D F1B6 pea.l [A5 - 0xE4A]
000001E6 486D DD06 pea.l [A5 - 0x22FA]
000001EA 3F3C 0810 move.w -[A7], 0x810
000001EE A9EB syscall Pack4/FP68K
000001F0 6004 bra +0x6 /* 000001F6 */
label000001F2:
000001F2 6000 FF24 bra -0xDA /* 00000118 */
label000001F6:
000001F6 486E FF56 pea.l [A6 - 0xAA]
000001FA A982 syscall CloseDialog
000001FC 4E5E unlink A6
000001FE 4E75 rts